package com.tom.demo.mapper;

import com.baomidou.dynamic.datasource.annotation.DS;
import com.tom.demo.common.entity.OaProcessType;
import com.tom.demo.vo.ProcessDefinitionVo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
* @author Admin
* @description 针对表【oa_process_type(审批类型表)】的数据库操作Mapper
* @createDate 2025-03-19 23:33:06
* @Entity generator.domain.OaProcessType
*/
@Mapper
@DS("master")
public interface OaProcessTypeMapper {

    List<OaProcessType> selectByPageList(OaProcessType oaProcessType);

    int insert(OaProcessType oaProcessType);

    Integer selectCount(OaProcessType oaProcessType);

    OaProcessType findById(String id);

    int updateById(OaProcessType oaProcessType);

    List<OaProcessType> getOptions();

    List<ProcessDefinitionVo> findByTypeGroupBy();

}




